home *** CD-ROM | disk | FTP | other *** search
/ Interactive Quarterly / The Best of New Machine Publishing 1 - Disc 4: Interactive Quarterly.iso / pc / demos / az / cyberx.dxr / 00097_RECORRIDO + VIDEO.ls < prev    next >
Encoding:
Text File  |  1996-10-06  |  666 b   |  34 lines

  1. on exitFrame
  2.   global cinta
  3.   if cinta = 1 then
  4.     pon_cursor(1, 3)
  5.   end if
  6.   go(the frame)
  7. end
  8.  
  9. on keyDown
  10.   if the keyCode = 124 then
  11.     puppetSprite(23, 1)
  12.     set the castNum of sprite 23 to 2103
  13.     derecha()
  14.   else
  15.     if the keyCode = 123 then
  16.       puppetSprite(22, 1)
  17.       set the castNum of sprite 22 to 2104
  18.       izquierda()
  19.     else
  20.       if the keyCode = 126 then
  21.         puppetSprite(20, 1)
  22.         set the castNum of sprite 20 to 2102
  23.         adelante()
  24.       else
  25.         if the keyCode = 125 then
  26.           puppetSprite(21, 1)
  27.           set the castNum of sprite 21 to 2101
  28.           atras()
  29.         end if
  30.       end if
  31.     end if
  32.   end if
  33. end
  34.